package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.example.pojo.TraComment;

@Mapper

public interface TraCommentMapper extends BaseMapper<TraComment> {

    public IPage<TraComment> getComments(IPage<TraComment> pg, int id);//定义一个方法用于接受从数据库传进来的数据
}
